<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>airline-res: AirlineRes::CustomerRecord Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">airline-res
   
   </div>
   <div id="projectbrief">A prototype airline flight booking system</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>AirlineRes</b>      </li>
      <li class="navelem"><a class="el" href="class_airline_res_1_1_customer_record.html">CustomerRecord</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a>  </div>
  <div class="headertitle">
<div class="title">AirlineRes::CustomerRecord Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="AirlineRes::CustomerRecord" --><!-- doxytag: inherits="AirlineRes::Record" -->
<p>Class to store and operate upon the data that comprises a customer.  
 <a href="class_airline_res_1_1_customer_record.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_customer_record_8h_source.html">CustomerRecord.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for AirlineRes::CustomerRecord:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_customer_record__inherit__graph.png" border="0" usemap="#_airline_res_1_1_customer_record_inherit__map" alt="Inheritance graph"/></div>
<map name="_airline_res_1_1_customer_record_inherit__map" id="_airline_res_1_1_customer_record_inherit__map">
<area shape="rect" id="node2" href="class_airline_res_1_1_record.html" title="{AirlineRes::Record\n|# m_id\l|+ Record()\l+ ~Record()\l+ LoadRecord()\l+ WriteRecord()\l+ GetID()\l}" alt="" coords="33,5,164,141"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for AirlineRes::CustomerRecord:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_customer_record__coll__graph.png" border="0" usemap="#_airline_res_1_1_customer_record_coll__map" alt="Collaboration graph"/></div>
<map name="_airline_res_1_1_customer_record_coll__map" id="_airline_res_1_1_customer_record_coll__map">
<area shape="rect" id="node2" href="class_airline_res_1_1_record.html" title="{AirlineRes::Record\n|# m_id\l|+ Record()\l+ ~Record()\l+ LoadRecord()\l+ WriteRecord()\l+ GetID()\l}" alt="" coords="5,101,136,237"/><area shape="rect" id="node4" href="class_airline_res_1_1_time_date.html" title="{AirlineRes::TimeDate\n|&#45; m_time\l|+ TimeDate()\l+ ~TimeDate()\l+ TimeDate()\l+ TimeDate()\l+ TimeDate()\l+ SetTime()\l+ TimeDate::SetTime()\l+ TimeDate::SetTime()\l+ TimeDate::SetToCurrentTime()\l+ GetTm()\l+ GetMinute()\l+ GetHour()\l+ GetDay()\l+ GetMonth()\l+ GetYear()\l+ GetISODate()\l+ GetDDMMYYYY()\l+ GetHHMM()\l}" alt="" coords="161,6,369,333"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="class_airline_res_1_1_customer_record-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7cc0324c9e4656bddd962dcc4a307bd4"></a><!-- doxytag: member="AirlineRes::CustomerRecord::CustomerRecord" ref="a7cc0324c9e4656bddd962dcc4a307bd4" args="(std::string const &amp;_passportNo, std::string const &amp;_firstName, std::string const &amp;_lastName, TimeDate const &amp;_dateOfBirth, std::string const &amp;_email, std::string const &amp;_phoneNo)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_customer_record.html#a7cc0324c9e4656bddd962dcc4a307bd4">CustomerRecord</a> (std::string const &amp;_passportNo, std::string const &amp;_firstName, std::string const &amp;_lastName, <a class="el" href="class_airline_res_1_1_time_date.html">TimeDate</a> const &amp;_dateOfBirth, std::string const &amp;_email, std::string const &amp;_phoneNo)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct record initialised with field values. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_airline_res_1_1_record.html#a515eae52b011c6ef424c873f26f0fb9b">RecordIOResult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_customer_record.html#af0c97a2ef141a46d378f923bfd5a6b5c">LoadRecord</a> (std::istream &amp;_stream)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_airline_res_1_1_record.html#a515eae52b011c6ef424c873f26f0fb9b">RecordIOResult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_customer_record.html#a262115bec99069e41ef450e2f42f02f7">WriteRecord</a> (std::ostream &amp;_stream) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_customer_record.html#a7c8c85a3aad9b789ccb480506b7f410b">GetPassportNo</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_customer_record.html#ad671451208fe2583756a936013093fcd">GetFirstName</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_customer_record.html#a2739c7f44019c757c3a7a40abd4780eb">GetLastName</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_airline_res_1_1_time_date.html">TimeDate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_customer_record.html#aef20994e194212064680e721edae66d0">GetDateOfBirth</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_customer_record.html#a4f6f548b22dd0551340f42a7bfb5d0cc">GetEmail</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_customer_record.html#a5517d7efbc8eba589cdc738482173b5e">GetPhoneNo</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab94607c4a779785711c1d88ba0357ff1"></a><!-- doxytag: member="AirlineRes::CustomerRecord::SetPassportNo" ref="ab94607c4a779785711c1d88ba0357ff1" args="(std::string const &amp;_passportNo)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_customer_record.html#ab94607c4a779785711c1d88ba0357ff1">SetPassportNo</a> (std::string const &amp;_passportNo)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the passport number. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9b0b02ef5e37a25c9345e59eae90f14f"></a><!-- doxytag: member="AirlineRes::CustomerRecord::SetFirstName" ref="a9b0b02ef5e37a25c9345e59eae90f14f" args="(std::string const &amp;_firstName)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_customer_record.html#a9b0b02ef5e37a25c9345e59eae90f14f">SetFirstName</a> (std::string const &amp;_firstName)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the first name. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7a398119c911b368ad137b7e4a1c9ab6"></a><!-- doxytag: member="AirlineRes::CustomerRecord::SetLastName" ref="a7a398119c911b368ad137b7e4a1c9ab6" args="(std::string const &amp;_lastName)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_customer_record.html#a7a398119c911b368ad137b7e4a1c9ab6">SetLastName</a> (std::string const &amp;_lastName)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the last name. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad7474906673506c59bde131dfc3a3eec"></a><!-- doxytag: member="AirlineRes::CustomerRecord::SetDateOfBirth" ref="ad7474906673506c59bde131dfc3a3eec" args="(TimeDate const &amp;_dateOfBirth)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_customer_record.html#ad7474906673506c59bde131dfc3a3eec">SetDateOfBirth</a> (<a class="el" href="class_airline_res_1_1_time_date.html">TimeDate</a> const &amp;_dateOfBirth)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the date of birth. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac1ef7757c24fa4b91f3c88c54b528830"></a><!-- doxytag: member="AirlineRes::CustomerRecord::SetEmail" ref="ac1ef7757c24fa4b91f3c88c54b528830" args="(std::string const &amp;_email)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_customer_record.html#ac1ef7757c24fa4b91f3c88c54b528830">SetEmail</a> (std::string const &amp;_email)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the email address. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab678f65a676941d5fd0aa22fc21d71cf"></a><!-- doxytag: member="AirlineRes::CustomerRecord::SetPhoneNo" ref="ab678f65a676941d5fd0aa22fc21d71cf" args="(std::string const &amp;_phoneNo)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_customer_record.html#ab678f65a676941d5fd0aa22fc21d71cf">SetPhoneNo</a> (std::string const &amp;_phoneNo)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the phone number. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad0e52bf1b8a163b1f22a74699b7f4207"></a><!-- doxytag: member="AirlineRes::CustomerRecord::m_passportNo" ref="ad0e52bf1b8a163b1f22a74699b7f4207" args="" -->
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>m_passportNo</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a61a1e2231895fbbd91071210ce24e5d6"></a><!-- doxytag: member="AirlineRes::CustomerRecord::m_firstName" ref="a61a1e2231895fbbd91071210ce24e5d6" args="" -->
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>m_firstName</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a93248c6445d2d5f6246e972032a17ea5"></a><!-- doxytag: member="AirlineRes::CustomerRecord::m_lastName" ref="a93248c6445d2d5f6246e972032a17ea5" args="" -->
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>m_lastName</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0908799d4c1a2482ece028754e8a9a4a"></a><!-- doxytag: member="AirlineRes::CustomerRecord::m_dateOfBirth" ref="a0908799d4c1a2482ece028754e8a9a4a" args="" -->
<a class="el" href="class_airline_res_1_1_time_date.html">TimeDate</a>&#160;</td><td class="memItemRight" valign="bottom"><b>m_dateOfBirth</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a74323f72edce448d65b7ab1494561042"></a><!-- doxytag: member="AirlineRes::CustomerRecord::m_email" ref="a74323f72edce448d65b7ab1494561042" args="" -->
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>m_email</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a219f297ea63cac2f84db8fed1f00a08d"></a><!-- doxytag: member="AirlineRes::CustomerRecord::m_phoneNo" ref="a219f297ea63cac2f84db8fed1f00a08d" args="" -->
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>m_phoneNo</b></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Class to store and operate upon the data that comprises a customer. </p>

<p>Definition at line <a class="el" href="_customer_record_8h_source.html#l00013">13</a> of file <a class="el" href="_customer_record_8h_source.html">CustomerRecord.h</a>.</p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aef20994e194212064680e721edae66d0"></a><!-- doxytag: member="AirlineRes::CustomerRecord::GetDateOfBirth" ref="aef20994e194212064680e721edae66d0" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_airline_res_1_1_time_date.html">TimeDate</a> AirlineRes::CustomerRecord::GetDateOfBirth </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="class_airline_res_1_1_time_date.html">TimeDate</a> object representing customer's date of birth. </dd></dl>

<p>Definition at line <a class="el" href="_customer_record_8h_source.html#l00042">42</a> of file <a class="el" href="_customer_record_8h_source.html">CustomerRecord.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4f6f548b22dd0551340f42a7bfb5d0cc"></a><!-- doxytag: member="AirlineRes::CustomerRecord::GetEmail" ref="a4f6f548b22dd0551340f42a7bfb5d0cc" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string AirlineRes::CustomerRecord::GetEmail </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Email address of the customer. </dd></dl>

<p>Definition at line <a class="el" href="_customer_record_8h_source.html#l00044">44</a> of file <a class="el" href="_customer_record_8h_source.html">CustomerRecord.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad671451208fe2583756a936013093fcd"></a><!-- doxytag: member="AirlineRes::CustomerRecord::GetFirstName" ref="ad671451208fe2583756a936013093fcd" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string AirlineRes::CustomerRecord::GetFirstName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>First name of customer. </dd></dl>

<p>Definition at line <a class="el" href="_customer_record_8h_source.html#l00038">38</a> of file <a class="el" href="_customer_record_8h_source.html">CustomerRecord.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2739c7f44019c757c3a7a40abd4780eb"></a><!-- doxytag: member="AirlineRes::CustomerRecord::GetLastName" ref="a2739c7f44019c757c3a7a40abd4780eb" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string AirlineRes::CustomerRecord::GetLastName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Last name of customer. </dd></dl>

<p>Definition at line <a class="el" href="_customer_record_8h_source.html#l00040">40</a> of file <a class="el" href="_customer_record_8h_source.html">CustomerRecord.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7c8c85a3aad9b789ccb480506b7f410b"></a><!-- doxytag: member="AirlineRes::CustomerRecord::GetPassportNo" ref="a7c8c85a3aad9b789ccb480506b7f410b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string AirlineRes::CustomerRecord::GetPassportNo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Passport number of customer. </dd></dl>

<p>Definition at line <a class="el" href="_customer_record_8h_source.html#l00036">36</a> of file <a class="el" href="_customer_record_8h_source.html">CustomerRecord.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5517d7efbc8eba589cdc738482173b5e"></a><!-- doxytag: member="AirlineRes::CustomerRecord::GetPhoneNo" ref="a5517d7efbc8eba589cdc738482173b5e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string AirlineRes::CustomerRecord::GetPhoneNo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Phone number of the customer. </dd></dl>

<p>Definition at line <a class="el" href="_customer_record_8h_source.html#l00046">46</a> of file <a class="el" href="_customer_record_8h_source.html">CustomerRecord.h</a>.</p>

</div>
</div>
<a class="anchor" id="af0c97a2ef141a46d378f923bfd5a6b5c"></a><!-- doxytag: member="AirlineRes::CustomerRecord::LoadRecord" ref="af0c97a2ef141a46d378f923bfd5a6b5c" args="(std::istream &amp;_stream)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_airline_res_1_1_record.html#a515eae52b011c6ef424c873f26f0fb9b">Record::RecordIOResult</a> AirlineRes::CustomerRecord::LoadRecord </td>
          <td>(</td>
          <td class="paramtype">std::istream &amp;&#160;</td>
          <td class="paramname"><em>_stream</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Attempt to load <a class="el" href="class_airline_res_1_1_record.html">Record</a> data from the specified istream.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">_stream</td><td>The istream from which to extract record fields.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>An error code represting whether or not the operation was a success. </dd></dl>

<p>Implements <a class="el" href="class_airline_res_1_1_record.html#afc47a99151fc262aa4d4b1e27d2c1c93">AirlineRes::Record</a>.</p>

<p>Definition at line <a class="el" href="_customer_record_8cpp_source.html#l00025">25</a> of file <a class="el" href="_customer_record_8cpp_source.html">CustomerRecord.cpp</a>.</p>

<p>References <a class="el" href="_time_date_8cpp_source.html#l00034">AirlineRes::TimeDate::SetTime()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_customer_record_af0c97a2ef141a46d378f923bfd5a6b5c_cgraph.png" border="0" usemap="#class_airline_res_1_1_customer_record_af0c97a2ef141a46d378f923bfd5a6b5c_cgraph" alt=""/></div>
<map name="class_airline_res_1_1_customer_record_af0c97a2ef141a46d378f923bfd5a6b5c_cgraph" id="class_airline_res_1_1_customer_record_af0c97a2ef141a46d378f923bfd5a6b5c_cgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_time_date.html#a23e2c88c22941ba255d696f211dad4ad" title="Sets the time represented by this object equal to that of the time specified by the supplied argument..." alt="" coords="317,5,517,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a262115bec99069e41ef450e2f42f02f7"></a><!-- doxytag: member="AirlineRes::CustomerRecord::WriteRecord" ref="a262115bec99069e41ef450e2f42f02f7" args="(std::ostream &amp;_stream) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_airline_res_1_1_record.html#a515eae52b011c6ef424c873f26f0fb9b">Record::RecordIOResult</a> AirlineRes::CustomerRecord::WriteRecord </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>_stream</em></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Attempt to write this <a class="el" href="class_airline_res_1_1_record.html">Record</a> to the specified ostream.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">_stream</td><td>The ostream to write record fields to.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>An error code represting whether or not the operation was a success. </dd></dl>

<p>Implements <a class="el" href="class_airline_res_1_1_record.html#affd38c74f5c4ce2c69bd7d527b90b5e2">AirlineRes::Record</a>.</p>

<p>Definition at line <a class="el" href="_customer_record_8cpp_source.html#l00038">38</a> of file <a class="el" href="_customer_record_8cpp_source.html">CustomerRecord.cpp</a>.</p>

<p>References <a class="el" href="_time_date_8cpp_source.html#l00140">AirlineRes::TimeDate::GetDDMMYYYY()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_customer_record_a262115bec99069e41ef450e2f42f02f7_cgraph.png" border="0" usemap="#class_airline_res_1_1_customer_record_a262115bec99069e41ef450e2f42f02f7_cgraph" alt=""/></div>
<map name="class_airline_res_1_1_customer_record_a262115bec99069e41ef450e2f42f02f7_cgraph" id="class_airline_res_1_1_customer_record_a262115bec99069e41ef450e2f42f02f7_cgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_time_date.html#acb420ce84951bae1a6c56033b1f85ac6" title="AirlineRes::TimeDate::GetDDMMYYYY" alt="" coords="321,56,570,83"/><area shape="rect" id="node5" href="class_airline_res_1_1_time_date.html#a59c68ccc960f250cd8b514c1a85b130e" title="AirlineRes::TimeDate::GetDay" alt="" coords="626,5,822,32"/><area shape="rect" id="node9" href="class_airline_res_1_1_time_date.html#a7e98dfe89ad2b55d6d98903d3e5db063" title="AirlineRes::TimeDate::GetMonth" alt="" coords="619,56,829,83"/><area shape="rect" id="node12" href="class_airline_res_1_1_time_date.html#a06487f603d02c0c0f2e6c5be94189fc6" title="AirlineRes::TimeDate::GetYear" alt="" coords="624,107,824,133"/><area shape="rect" id="node7" href="class_airline_res_1_1_time_date.html#a91250febbb54716789c3600ea63f7ad0" title="AirlineRes::TimeDate::GetTm" alt="" coords="878,56,1069,83"/></map>
</div>
</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>C:/Users/Joe/Development/Projects/University/FormalMethods/airline-res/include/<a class="el" href="_customer_record_8h_source.html">CustomerRecord.h</a></li>
<li>C:/Users/Joe/Development/Projects/University/FormalMethods/airline-res/src/<a class="el" href="_customer_record_8cpp_source.html">CustomerRecord.cpp</a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Enumerations</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Wed Dec 14 2011 22:49:41 for airline-res by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
